package com.yangzcp.userpojo;

import com.yangzcp.pojo.SuperData;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Entity
@Table(name = "tixian_apply")
public class Tixian_apply extends SuperData {
    private Integer tixian_flag;

    public void setTixian_flag(Integer tixian_flag) {
        this.tixian_flag = tixian_flag;
    }

    public Integer getTixian_flag() {
        return tixian_flag;
    }

    @Column(precision = 30, scale = 10)
    private BigDecimal amount;

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    private String tixian_bank;

    public void setTixian_bank(String tixian_bank) {
        this.tixian_bank = tixian_bank;
    }

    public String getTixian_bank() {
        return tixian_bank;
    }

    private Long create_time = new Date().getTime();

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    public Long getCreate_time() {
        return create_time;
    }

    private String tixian_card;

    public void setTixian_card(String tixian_card) {
        this.tixian_card = tixian_card;
    }

    public String getTixian_card() {
        return tixian_card;
    }

    private String tixian_name;

    public void setTixian_name(String tixian_name) {
        this.tixian_name = tixian_name;
    }

    public String getTixian_name() {
        return tixian_name;
    }

    @ManyToOne(targetEntity = Members.class)
    private Members ref_member;

    public void setRef_member(Members ref_member) {
        this.ref_member = ref_member;
    }

    public Members getRef_member() {
        return ref_member;
    }

    private String shibai_reson;

    public void setShibai_reson(String shibai_reson) {
        this.shibai_reson = shibai_reson;
    }

    public String getShibai_reson() {
        return shibai_reson;
    }
}